Added gdk_text_extents_wc()
authorOwen Taylor <otaylor@redhat.com>
Tue, 15 Dec 1998 20:31:26 +0000 (20:31 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 15 Dec 1998 20:31:26 +0000 (20:31 +0000)
commita3c1e86ffa9b75d4e027843d6c3d23249247cad5
tree2bf8312bde174405ce5ba3937a389a2ec4856927
parent7eec796cbdddddb2b1213dbf90c0609ef65a99a6
Added gdk_text_extents_wc()

Tue Dec 15 14:30:35 1998  Owen Taylor  <otaylor@redhat.com>

* gdk/gdk.h gdk/gdkfonts.c: Added gdk_text_extents_wc()

        * Patch from Jonathan Blanford <jrb@redhat.com> to add line wrapping
  to label. (Based on patch from Jeff Dairiki
  <dairiki@mac-ceope.apl.washington.edu> gtk-dairiki-971208-0)

- Adds new function gtk_label_set_line_wrap()
- implement GTK_JUSTIFY_FILL.
- rename gtk_label_set to gtk_label_set_text() add
   gtk_label_set() to gtkcompat.h.

* Use an internal wc representation in the label, so
  that we handle underlining and line breaks correctly
  for multi-byte strings.
26 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdk.h
gdk/gdkfont.c
gdk/x11/gdkfont-x11.c
gtk/gtkaccellabel.c
gtk/gtkbutton.c
gtk/gtkcompat.h
gtk/gtkdrawwindow.c [deleted file]
gtk/gtkdrawwindow.h [deleted file]
gtk/gtkfilesel.c
gtk/gtkfontsel.c
gtk/gtklabel.c
gtk/gtklabel.h
gtk/gtknotebook.c
gtk/gtkstatusbar.c
gtk/gtktipsquery.c
gtk/testgtk.c
gtk/testthreads.c
tests/testgtk.c
tests/testthreads.c